// @import "tailwindcss";

* {
  box-sizing: border-box;
  font-family: SourceHanSansCN, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

ul,
li,
p {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

fieldset,
img {
  border: none;
}

img {
  display: block;
}

address,
caption,
cite,
code,
dfn,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ul,
ol,
li {
  list-style: none;
}

body {
  font-size: 14px;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

a {
  color: #000;
  text-decoration: none;
  display: inline-block
}

a:link {
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 0px;
  color: #000;
}

a:active {
  color: #000;
}

a:focus {
  outline: none;
  color: #000;
}

textarea {
  resize: none;
  outline: none;
  padding: 5px;
  line-height: 20px;
}

dl dt {
  font-weight: 500;
}

label {
  font-weight: 500;
  margin: 0;
}

input {
  padding: 0 10px;
  font-size: 14px;
}

button {
  font-size: 14px;
}

table {
  font-size: 14px;
}

.relative {
  position: relative
}

.absolute {
  position: absolute;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 字号 */
.size10 {
  font-size: 10px;
}

.size11 {
  font-size: 11px;
}

.size12 {
  font-size: 12px;
}

.size13 {
  font-size: 13px;
}

.size14 {
  font-size: 14px;
}

.size15 {
  font-size: 15px;
}

.size16 {
  font-size: 16px;
}

.size18 {
  font-size: 18px;
}

/* 字体颜色 */
.color-333 {
  color: #333;
}

.color-666 {
  color: #666;
}

.color-999,
.color-gray {
  color: #999;
}

/* 背景色 */
.bg-pink {
  background: pink;
}

.bg-yellow {
  background: #f8f5ef;
}

/* 阴影 */
.shadow {
  box-shadow: 0 0 10px rgba(22, 22, 22, 0.1);
}

/* flex ==== */
.flex {
  display: flex;
  flex-wrap: wrap;
}

/* 居中 */
.center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.center-h {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.center-v {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* flex 两边对齐 */
.flex-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* 省略号 */
.ellipsis {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

.ellipsis2 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 文字下划线 */
.underline {
  text-decoration: underline;
}

/* 去掉谷歌记住密码  输入框有背景颜色 */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  background-color: transparent;
  background-image: none;
  transition: background-color 50000s ease-in-out 0s;
}

/* input type="number"时 去掉箭头*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

.circle {
  border-radius: 100%;
  overflow: hidden;
}